<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Study</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%@ include file="top.jsp" %>
<div class="comparebox">
 <div class="wzz"><a href="index.jsp">首页</a>&gt;考察纪实</div>
 <div class="xzzbox">
 <div class="xztitle"><img src="images/pic_03.jpg" alt="" /></div>
     <bean:define id="list" name= "PlaceView" property= "content" type= "java.util.List" ></bean:define> 
<bean:define id="pager" name= "PlaceView" property= "pager" type= "tools.Pager" ></bean:define> 
<bean:define id="hasNextPage" name= "pager" property= "hasNextPage" type= "java.lang.Boolean" ></bean:define> 
<bean:define id="hasPrePage" name= "pager" property= "hasPrePage" type= "java.lang.Boolean" ></bean:define> 
 <div class="pic">
 <ul>
    <logic:iterate id="i" name= "list" > 
    <li><a target="_blank" href="<%=request.getContextPath()%>/show_study_detail.do?method=show_study_detail&id=${i.id}"><img src="upload/${i.path}" alt="" border="0" width="160px;" height="160px;"/></a></li>
    </logic:iterate>
</ul>
 </div>
 <div class="yejiao">
 <logic:equal value="false" name= "hasPrePage" > 
<a><img src="images/pic_11.jpg" alt="" /></a> 
</logic:equal> 
<logic:equal value="true" name= "hasPrePage" > 
<a href="javascript:changePage(${pager.currentPage-1 })" mce_href= "javascript:changePage(${pager.currentPage-1 })" ><img src="images/pic_11.jpg" alt="" /></a>
</logic:equal> 
<a>${pager.currentPage } / ${pager.totalPage }</a> 
<logic:equal value="false" name= "hasNextPage" > 
<a><img src="images/pic_13.jpg" alt="" /></a> 
</logic:equal> 
<logic:equal value="true" name= "hasNextPage" > 
<a href="javascript:changePage(${pager.currentPage+1 })" mce_href= "javascript:changePage(${pager.currentPage+1 })" ><img src="images/pic_13.jpg" alt="" /></a>
</logic:equal>
</div>
 <div class="clear"></div>
 </div>
 </div>
<%@ include file="footer.jsp" %>
</body>
    <script type="text/javascript">
  function changePage(top){
     window.location.href="show_study_list.do?method=show_study_list&pageNum="+top;
  }
  </script>
</html>
